package com.hopedove.tempdemo.net.data

// 三角排列基本信息
data class TriangleArrangeBaseInfo(
    val PRINTXY: String?,
    val EXPLAN: String?,
    val WIDTHMOD: String?,
    val SJPLID: String?,
    val JSFS: String?,
    val XQSM: String?,
    val PAGEPRINT: String?,
    val XNUM: Int?,
    val FONTSISE: String?,
    val YNUM: Int?,
    val GENTYPE: String?,
    val JGLS: Int?,
    val DELFLAG: Int?,
    val PZ: String?,
    val GYDID: String?
) {

    fun pieceUpStyleFormat(): String {
        return JSFS?.replace("<BR/>", "\n") ?: ""
    }
}

// 三角排列条目
data class TriangleArrangeItem(
    val XCELL: Int,
    val YCELL: Int,
    val VAL: String,
    val SJPLID: String,
    val DESIGNSUBID: String
)

// 三角排列数组条目
data class TriangleArrangeArrayItem(
    val YLPH: String?,
    val BX: String?,
    val XQCD: String?,
    val NX: String?,
    val YLMS: String?,
    val XHCS: String?,
    val YLGN: String?,
    val REMARK: String?,
    val SORTNO: String?,
    val YLXXID: String?,
    val LS: String?,
    val YLWZNAME: String?,
    val FS: String?,
    val SJBL: String?,
    val YLFS: String?,
    val JKLB: String?,
    val SZ: String?,
    val FSJTFS: String?,
    val DWLS: String?,
    val CFPZ: String?,
    val YLID: String?,
    val YLPP: String?,
    val YLCD: String?,
    val YLLX: String?,
    val DRSXZYYLYQ: String?,
    val YLWZ: String?,
    val SZQC: String?,
    val CFBL: String?,
    val YLBH: String?,
    val GS: String?,
    val JZBL: String?,
    val YLWJ: String?,
    val JGYQ: String?,
    val DELFLAG: Int?,
    val YLWG: String?,
    val GYDID: String?
)